<p>
    <a class="command bold" onclick="jQuery('#tellFriendForm').show('blind');"><?php echo ucfirst($txt->getWord('tell_a_friend')); ?></a>
    &nbsp;|&nbsp;
    <a class="command bold" href="?print=1" target="_blank"><?php echo ucfirst($txt->getWord('print')); ?></a>
</p><hr />
<?php 
$style = '';
if($adc->getForms('tellFriend')->Fields['tellInfo']->getInfo() != '')
{ 
	echo $adc->getForms('tellFriend')->Fields['tellInfo']->getInfo(); 
	$adc->getForms('tellFriend')->Fields['tellInfo']->setInfo('');
	$style = 'style="display:none;"';
}
?>
<div id="tellFriendForm" <?php echo $style; ?> <?php if($_POST['action'] != 'tellFriend_'.$adc->getCurrentAdId()) { echo 'style="display:none;"'; }  ?>>
	<form name="tellFriend" method="post" enctype="multipart/form-data" action="">
		<fieldset class="com_form">
			<?php echo $adc->getForms('tellFriend')->getFieldsHTML(); ?>
			<input type="submit" name="submit" value="<?php echo ucfirst($txt->getWord('send').' '.$txt->getWord('tip')); ?>" />
		</fieldset>
	</form><hr />
</div>
<br />
<div>